<?php

namespace Domain\Task;

use Domain\Task\Task;

// Entity
class TaskList {

    private $aTasks = array();

    public function addTask(Task $oTask) {
        \array_push($this->aTasks, $oTask);
    }

    public function getTasks() {
        return $this->aTasks;
    }

}

?>
